clear all;clc
detetion_img=zeros(4,4); %设置检测图形
%% 测试集
% extract_bits=char('1100110011001100'); %PASS 没有修改
% orgin_bits=extract_bits;
% extract_bits=char('1100110011001100'); %PASS 每块均有修改，但不完全修改
% orgin_bits=char('1010101010101010');
extract_bits=char('1100110011001100'); %PASS 存在某个2*2的块没有修改
orgin_bits=char('1100101010101010');
% extract_bits=char('1100110011001100'); %PASS 完全修改无一一样
% orgin_bits=char('0011001100110011');
%% 开始测试
x=1;
y=1;
detetion_img_A = detect_process_1(detetion_img,x,y,extract_bits,orgin_bits);
detetion_img_B = detect_process_2(detetion_img,x,y,extract_bits,orgin_bits);
detetion_img_C = detect_process_3(detetion_img,x,y,extract_bits,orgin_bits);
detetion_img_comp1=detect_process_comp_1(detetion_img,extract_bits,orgin_bits);
%imshow(image,[ ]),axis normal,set(gca,'position',[0 0 1 1])
%impixelinfo 显示像素位置
subplot(141);imshow(detetion_img_A,[ ]);title('方案1检测');
subplot(142);imshow(detetion_img_B,[ ]);title('方案2检测');
subplot(143);imshow(detetion_img_C,[ ]);title('方案3检测');
subplot(144);imshow(detetion_img_comp1,[ ]);title('方案4检测');
impixelinfo